package com.woniu.carrent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.carrent.pojo.TLocation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TLocationMapper extends BaseMapper<TLocation> {
    @Select("SELECT * FROM t_location WHERE cId = #{cid}")
    List<TLocation> selectListById(Integer cid);
}
